home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1997 / HAM Radio 1997.iso / vcls / date / apdreg.pas < prev    next >
Pascal/Delphi Source File  |  1996-04-08  |  2KB  |  85 lines

  1. {$G+,X+,F+}
  2.  
  3. {Conditional defines that may affect this unit}
  4. {$I AWDEFINE.INC}
  5.  
  6. {*********************************************************}
  7. {*                    APDREG.PAS 1.01                    *}
  8. {*        Copyright (c) TurboPower Software 1995         *}
  9. {*                 All rights reserved.                  *}
  10. {*********************************************************}
  11.  
  12. {$I AWDEFINE.INC}
  13.  
  14. {$IFDEF UseAPWDLL}
  15. !! STOP COMPILE -- UseAPWDLL must be turned off when compiling APDREG
  16. {$ENDIF}
  17.  
  18. {$IFDEF BuildAPWDLL}
  19. !! STOP COMPILE -- BuildAPWDLL must be turned off when compiling APDREG
  20. {$ENDIF}
  21.  
  22. unit APDReg;
  23.  
  24. interface
  25.  
  26. uses
  27.   DsgnIntf;
  28.  
  29. procedure Register;
  30.  
  31. implementation
  32.  
  33. uses
  34.   Classes,
  35.   AdPort,
  36.   AdTerm,
  37.   AdDataB,
  38.   AdIniDB,
  39.   AdModDB,
  40.   AdModem,
  41.   AdPBook,
  42.   AdPBEdit,
  43.   AdDial,
  44.   AdGetNum,
  45.   AdStatLt,
  46.   AdProtcl,
  47.   AdPStat;
  48.  
  49. {$I APDTABS.INC}  {Constant declarations for Delphi palette tab names}
  50.  
  51. procedure Register;
  52. begin
  53.   {Register property editors}
  54.   RegisterPropertyEditor(TypeInfo(TBaudRate), TApdComPort,
  55.                          'Baud', TBaudRateProperty);
  56.   RegisterPropertyEditor(TypeInfo(TDBFieldList), TApdIniDBase,
  57.                          'FieldList', TDBFieldListProperty);
  58.   RegisterPropertyEditor(TypeInfo(TDBIndexedField), TApdIniDBase,
  59.                          'IndexedField', TIndexedFieldProperty);
  60.  
  61.   {Register components}
  62.   RegisterComponents(ApdTabName,
  63.                      [TApdComPort,
  64.                       TApdEmulator,
  65.                       TApdTerminal,
  66.                       TApdBPTerminal,
  67.                       TApdProtocol,
  68.                       TApdProtocolLog,
  69.                       TApdProtocolStatus,
  70.                       TApdIniDBase,
  71.                       TApdModemDBase,
  72.                       TApdModem,
  73.                       TApdPhonebook,
  74.                       TApdPhonebookEditor,
  75.                       TApdPhoneNumberSelector,
  76.                       TApdModemDialer,
  77.                       TApdDialerDialog,
  78.                       TApdSLController,
  79.                       TApdStatusLight]);
  80.  
  81. end;
  82.  
  83. end.
  84.  
  85.